home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 June: Reference Library / Dev.CD Jun 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 25 / develop issue 25 code / toolfrontend.sea / ToolFrontEnd / ToolFrontEnd Source / ToolFrontEnd Compiler / SignatureToApp.h < prev    next >
MacBinary  |  1995-07-06  |  2.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Jul 6 11:03:51 1995, modified Thu Jul 6 11:03:51 1995, creator Think C, type ASCII, 1368 bytes "SignatureToApp.h" , at 0x5d8 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 53 69 67 6e 61 74 | 75 72 65 54 6f 41 70 70 |..Signat|ureToApp|
|00000010| 2e 68 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 58 00 | 00 01 ac ac 21 ab d7 ac |......X.|....!...|
|00000060| 21 ab d7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |!.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 52 2e 00 00 |........|....R...|
|00000080| 2f 2f 2f 2f 0d 2f 2f 2f | 2f 09 53 69 67 6e 61 74 |////.///|/.Signat|
|00000090| 75 72 65 54 6f 41 70 70 | 2e 68 09 09 49 6e 74 65 |ureToApp|.h..Inte|
|000000a0| 72 66 61 63 65 20 66 6f | 72 20 53 69 67 6e 61 74 |rface fo|r Signat|
|000000b0| 75 72 65 54 6f 41 70 70 | 0d 2f 2f 2f 2f 0d 2f 2f |ureToApp|.////.//|
|000000c0| 2f 2f 09 42 79 20 4a 65 | 6e 73 20 41 6c 66 6b 65 |//.By Je|ns Alfke|
|000000d0| 09 09 09 a9 31 39 39 32 | 20 41 70 70 6c 65 20 43 |....1992| Apple C|
|000000e0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 20 41 6c |omputer,| Inc. Al|
|000000f0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000100| 64 2e 0d 2f 2f 2f 2f 0d | 0d 23 70 72 61 67 6d 61 |d..////.|.#pragma|
|00000110| 20 6f 6e 63 65 0d 0d 23 | 69 66 6e 64 65 66 20 5f | once..#|ifndef _|
|00000120| 5f 53 49 47 4e 41 54 55 | 52 45 54 4f 41 50 50 5f |_SIGNATU|RETOAPP_|
|00000130| 5f 0d 09 23 64 65 66 69 | 6e 65 20 5f 5f 53 49 47 |_..#defi|ne __SIG|
|00000140| 4e 41 54 55 52 45 54 4f | 41 50 50 5f 5f 0d 0d 23 |NATURETO|APP__..#|
|00000150| 69 66 6e 64 65 66 20 5f | 5f 50 52 4f 43 45 53 53 |ifndef _|_PROCESS|
|00000160| 45 53 5f 5f 0d 09 23 69 | 6e 63 6c 75 64 65 20 3c |ES__..#i|nclude <|
|00000170| 50 72 6f 63 65 73 73 65 | 73 2e 68 3e 0d 23 65 6e |Processe|s.h>.#en|
|00000180| 64 69 66 0d 0d 23 69 66 | 64 65 66 20 5f 5f 63 70 |dif..#if|def __cp|
|00000190| 6c 75 73 70 6c 75 73 0d | 65 78 74 65 72 6e 20 22 |lusplus.|extern "|
|000001a0| 43 22 20 7b 0d 23 65 6e | 64 69 66 0d 0d 74 79 70 |C" {.#en|dif..typ|
|000001b0| 65 64 65 66 20 65 6e 75 | 6d 7b 0d 09 53 69 67 32 |edef enu|m{..Sig2|
|000001c0| 41 70 70 5f 46 69 6e 64 | 50 72 6f 63 65 73 73 09 |App_Find|Process.|
|000001d0| 09 3d 30 2c 0d 09 53 69 | 67 32 41 70 70 5f 46 69 |.=0,..Si|g2App_Fi|
|000001e0| 6e 64 41 70 70 6c 69 63 | 61 74 69 6f 6e 2c 0d 09 |ndApplic|ation,..|
|000001f0| 53 69 67 32 41 70 70 5f | 4c 61 75 6e 63 68 41 70 |Sig2App_|LaunchAp|
|00000200| 70 6c 69 63 61 74 69 6f | 6e 0d 7d 20 53 69 67 32 |plicatio|n.} Sig2|
|00000210| 41 70 70 5f 4d 6f 64 65 | 3b 0d 0d 2f 2f 20 4c 61 |App_Mode|;..// La|
|00000220| 75 6e 63 68 20 63 6f 6e | 74 72 6f 6c 20 66 6c 61 |unch con|trol fla|
|00000230| 67 73 3a 20 74 68 65 73 | 65 20 61 72 65 20 70 61 |gs: thes|e are pa|
|00000240| 72 74 20 6f 66 20 74 68 | 65 20 50 72 6f 63 65 73 |rt of th|e Proces|
|00000250| 73 20 4d 61 6e 61 67 65 | 72 2e 20 54 68 65 20 72 |s Manage|r. The r|
|00000260| 65 6c 65 76 61 6e 74 20 | 6f 6e 65 73 20 61 72 65 |elevant |ones are|
|00000270| 3a 0d 2f 2f 09 6c 61 75 | 6e 63 68 43 6f 6e 74 69 |:.//.lau|nchConti|
|00000280| 6e 75 65 09 09 44 6f 6e | 27 74 20 71 75 69 74 20 |nue..Don|'t quit |
|00000290| 74 68 69 73 20 61 70 70 | 20 61 66 74 65 72 20 6c |this app| after l|
|000002a0| 61 75 6e 63 68 69 6e 67 | 20 74 68 65 20 6e 65 77 |aunching| the new|
|000002b0| 20 6f 6e 65 20 28 79 6f | 75 20 77 61 6e 74 20 74 | one (yo|u want t|
|000002c0| 6f 20 75 73 65 20 74 68 | 69 73 21 21 29 0d 2f 2f |o use th|is!!).//|
|000002d0| 09 6c 61 75 6e 63 68 55 | 73 65 4d 69 6e 69 6d 75 |.launchU|seMinimu|
|000002e0| 6d 09 55 73 65 20 74 68 | 65 20 6d 69 6e 69 6d 75 |m.Use th|e minimu|
|000002f0| 6d 20 68 65 61 70 20 73 | 69 7a 65 20 61 73 20 73 |m heap s|ize as s|
|00000300| 70 65 63 69 66 69 65 64 | 20 69 6e 20 74 68 65 20 |pecified| in the |
|00000310| 61 70 70 27 73 20 53 49 | 5a 45 20 72 65 73 6f 75 |app's SI|ZE resou|
|00000320| 72 63 65 2e 0d 2f 2f 09 | 6c 61 75 6e 63 68 44 6f |rce..//.|launchDo|
|00000330| 6e 74 53 77 69 74 63 68 | 09 44 6f 6e 27 74 20 61 |ntSwitch|.Don't a|
|00000340| 63 74 69 76 61 74 65 20 | 74 68 65 20 6c 61 75 6e |ctivate |the laun|
|00000350| 63 68 65 64 20 61 70 70 | 2e 0d 2f 2f 09 6c 61 75 |ched app|..//.lau|
|00000360| 6e 63 68 49 6e 68 69 62 | 69 74 44 61 65 6d 6f 6e |nchInhib|itDaemon|
|00000370| 09 50 72 65 76 65 6e 74 | 20 6c 61 75 6e 63 68 20 |.Prevent| launch |
|00000380| 6f 66 20 62 61 63 6b 67 | 72 6f 75 6e 64 2d 6f 6e |of backg|round-on|
|00000390| 6c 79 20 61 70 70 73 2e | 0d 2f 2f 20 53 65 65 20 |ly apps.|.// See |
|000003a0| 49 4d 2d 56 49 20 70 2e | 32 39 2d 31 35 20 66 6f |IM-VI p.|29-15 fo|
|000003b0| 72 20 74 68 65 20 66 75 | 6c 6c 20 70 6f 6f 70 2e |r the fu|ll poop.|
|000003c0| 0d 0d 0d 4f 53 45 72 72 | 0d 53 69 67 6e 61 74 75 |...OSErr|.Signatu|
|000003d0| 72 65 54 6f 41 70 70 28 | 09 4f 53 54 79 70 65 20 |reToApp(|.OSType |
|000003e0| 73 69 67 2c 09 09 09 09 | 09 09 2f 2f 20 53 69 67 |sig,....|..// Sig|
|000003f0| 6e 61 74 75 72 65 20 6f | 66 20 61 70 70 0d 09 09 |nature o|f app...|
|00000400| 09 09 63 6f 6e 73 74 20 | 46 53 53 70 65 63 20 2a |..const |FSSpec *|
|00000410| 64 6f 63 75 6d 65 6e 74 | 2c 09 09 09 2f 2f 20 44 |document|,...// D|
|00000420| 6f 63 75 6d 65 6e 74 20 | 74 6f 20 6f 70 65 6e 20 |ocument |to open |
|00000430| 77 69 74 68 20 61 70 70 | 2c 20 6f 72 20 4e 55 4c |with app|, or NUL|
|00000440| 4c 0d 09 09 09 09 50 72 | 6f 63 65 73 73 53 65 72 |L.....Pr|ocessSer|
|00000450| 69 61 6c 4e 75 6d 62 65 | 72 20 2a 70 73 6e 2c 09 |ialNumbe|r *psn,.|
|00000460| 09 2f 2f 20 52 65 74 75 | 72 6e 73 20 50 53 4e 20 |.// Retu|rns PSN |
|00000470| 6f 66 20 61 70 70 20 28 | 69 67 6e 6f 72 65 64 20 |of app (|ignored |
|00000480| 69 66 20 4e 55 4c 4c 29 | 0d 09 09 09 09 46 53 53 |if NULL)|.....FSS|
|00000490| 70 65 63 20 2a 66 69 6c | 65 53 70 65 63 2c 09 09 |pec *fil|eSpec,..|
|000004a0| 09 09 2f 2f 20 52 65 74 | 75 72 6e 73 20 6c 6f 63 |..// Ret|urns loc|
|000004b0| 61 74 69 6f 6e 20 6f 66 | 20 61 70 70 20 28 69 67 |ation of| app (ig|
|000004c0| 6e 6f 72 65 64 20 69 66 | 20 4e 55 4c 4c 29 0d 09 |nored if| NULL)..|
|000004d0| 09 09 09 42 6f 6f 6c 65 | 61 6e 20 2a 6c 61 75 6e |...Boole|an *laun|
|000004e0| 63 68 65 64 2c 09 09 09 | 09 2f 2f 20 53 65 74 20 |ched,...|.// Set |
|000004f0| 74 6f 20 54 52 55 45 20 | 69 66 20 49 20 68 61 64 |to TRUE |if I had|
|00000500| 20 74 6f 20 6c 61 75 6e | 63 68 20 28 69 67 6e 6f | to laun|ch (igno|
|00000510| 72 65 64 20 69 66 20 4e | 55 4c 4c 29 0d 09 09 09 |red if N|ULL)....|
|00000520| 09 53 69 67 32 41 70 70 | 5f 4d 6f 64 65 20 6d 6f |.Sig2App|_Mode mo|
|00000530| 64 65 2c 09 09 09 09 2f | 2f 20 4d 6f 64 65 20 2d |de,..../|/ Mode -|
|00000540| 2d 20 66 69 6e 64 20 70 | 72 6f 63 2f 66 69 6e 64 |- find p|roc/find|
|00000550| 20 61 70 70 2f 6c 61 75 | 6e 63 68 20 61 70 70 0d | app/lau|nch app.|
|00000560| 09 09 09 09 4c 61 75 6e | 63 68 46 6c 61 67 73 20 |....Laun|chFlags |
|00000570| 6c 61 75 6e 63 68 43 6f | 6e 74 72 6f 6c 46 6c 61 |launchCo|ntrolFla|
|00000580| 67 73 09 2f 2f 20 4c 61 | 75 6e 63 68 20 63 6f 6e |gs.// La|unch con|
|00000590| 74 72 6f 6c 20 66 6c 61 | 67 73 3b 20 73 65 65 20 |trol fla|gs; see |
|000005a0| 50 72 6f 63 65 73 73 20 | 4d 67 72 0d 09 09 09 20 |Process |Mgr.... |
|000005b0| 20 29 3b 0d 0d 23 69 66 | 64 65 66 20 5f 5f 63 70 | );..#if|def __cp|
|000005c0| 6c 75 73 70 6c 75 73 0d | 7d 0d 23 65 6e 64 69 66 |lusplus.|}.#endif|
|000005d0| 0d 0d 23 65 6e 64 69 66 | 00 00 00 00 00 00 00 00 |..#endif|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000610| 21 54 44 45 53 4b 53 43 | 52 41 50 56 49 45 57 24 |!TDESKSC|RAPVIEW$|
|00000620| 43 48 45 43 4b 53 43 52 | 41 50 43 4f 4e 54 45 4e |CHECKSCR|APCONTEN|
|00000630| 10 53 69 67 6e 61 74 75 | 72 65 54 6f 41 70 70 2e |.Signatu|reToApp.|
|00000640| 68 6f 02 00 00 00 54 45 | 58 54 4b 41 48 4c 01 00 |ho....TE|XTKAHL..|
|00000650| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 ff ff ff ff |..TEXTKA|HL......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a4 60 27 ae 00 00 | 05 58 00 00 01 ac 05 54 |...`'...|.X.....T|
|00000680| 49 54 4c 45 19 54 54 45 | 56 49 45 57 5f 44 4f 43 |ITLE.TTE|VIEW_DOC|
|00000690| 41 4c 43 56 49 45 57 50 | 45 52 50 41 47 45 09 70 |ALCVIEWP|ERPAGE.p|
|000006a0| 4c 61 73 74 53 65 6c 66 | 11 54 44 49 41 4c 4f 47 |LastSelf|.TDIALOG|
|000006b0| 56 49 45 57 5f 43 4c 4f | 4e 45 11 54 42 45 48 41 |VIEW_CLO|NE.TBEHA|
|000006c0| 56 49 4f 52 24 44 4f 45 | 56 45 4e 54 11 57 49 4e |VIOR$DOE|VENT.WIN|
|000006d0| 44 4f 57 48 41 4e 44 4c | 45 53 48 45 4c 50 0d 4d |DOWHANDL|ESHELP.M|
|000006e0| 41 50 72 69 6e 74 69 6e | 67 52 65 73 01 00 05 74 |APrintin|gRes...t|
|000006f0| 68 65 54 53 0d 69 74 73 | 44 61 74 61 4c 65 6e 67 |heTS.its|DataLeng|
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 63 68 42 |...H..Mo|naco.chB|
|00000710| 00 c8 5a b0 6e 61 74 75 | 72 65 0d 2f 2f 2f 2f 0d |..Z.natu|re.////.|
|00000720| 2f 2f 2f 2f 09 42 00 06 | 00 04 00 50 00 20 01 dd |////.B..|...P. ..|
|00000730| 02 3d 00 50 00 20 01 dd | 02 3d a6 63 ac 44 00 00 |.=.P. ..|.=.c.D..|
|00000740| 02 a1 00 00 02 a1 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00000750| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 af |.....n..|.n...>..|
|00000780| df 68 33 0c 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |.h3.....|.>..MPSR|
|00000790| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 03 f0 ff ff 00 00 00 4c | 00 00 00 00 00 00 00 00 |.......L|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+